# Voro++ makefile
#
# Author : Chris H. Rycroft (LBL / UC Berkeley)
# Email  : chr@alum.mit.edu
# Date   : May 18th 2011 

# Load the common configuration file
include ../config.mk

# List of executables
EXECUTABLES= test_ctr test_import test_lloyd test_bdry simple_nonconvex

# Makefile rules
all: $(EXECUTABLES) 



test_ctr: test_ctr.cc
	$(CC) $(CFLAGS) $(E_INC) $(E_LIB) -o test_ctr test_ctr.cc -lvoro++_2d

test_bdry: test_bdry.cc
	$(CC) $(CFLAGS) $(E_INC) $(E_LIB) -o test_bdry test_bdry.cc -lvoro++_2d

test_import: test_import.cc
	$(CC) $(CFLAGS) $(E_INC) $(E_LIB) -o test_import test_import.cc -lvoro++_2d

test_lloyd: test_lloyd.cc
	$(CC) $(CFLAGS) $(E_INC) $(E_LIB) -o test_lloyd test_lloyd.cc -lvoro++_2d

simple_nonconvex: simple_nonconvex.cc
	$(CC) $(CFLAGS) $(E_INC) $(E_LIB) -o simple_nonconvex simple_nonconvex.cc -lvoro++_2d

clean:
	rm -f $(EXECUTABLES)

.PHONY: all clean
